


#include "support_common.h" /* include peripheral declarations and more */



void memcpy(int8* des,int8* src,int num);

#include "common.h"

int main(void)
{
	uint16 distance;
	PIT0_init();
	initLED_OLED();
	initGPIO();
	initPWR();
	ADC_init();
	ADC_start();
	MCF_GPIO_PORTTC^=MCF_GPIO_PORTTC_PORTTC0;
	MCF_GPIO_PORTTC^=MCF_GPIO_PORTTC_PORTTC0;
	uart_init(0,115200);
	PWM_init();	
	EPORT_init();
	EnableInterrupts;
	initvalue();
	MCF_UART1_UTB=(0x55);
	
	while(1)
	{
		;
	}

}


